<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>枫叶软件</title>
		<meta name="keywords" content="枫叶,软件">
		<meta name="description" content="枫叶软件">
		<%@ include file="public/head.jspf"%>
		<script>
            var timer;
            //启动跳转的定时器
            function startTimes() {
                timer = window.setInterval(showSecondes,1000);
            }
            var i = 5;
            function showSecondes() {
                if (i > 0) {
                    i--;
                    document.getElementById("secondes").innerHTML = i;
                }
                else {
                    window.clearInterval(timer);
                    location.href = "login.to";
                }
            }
            //立即跳转
            function resetTimer() {
                if (timer != null && timer != undefined) {
                    window.clearInterval(timer);
                    location.href = "login.to";
                }
            }
        </script>
	</head>
	<body>
		<div class="error">
			<p><span>e</span><span>r</span><span>r</span><span>o</span><span>r</span></p>
			<p>用户名或密码错误o(︶︿︶)o
				<br/><br/>
				<span id="secondes">5</span>
				&nbsp;秒后将自动跳转，立即跳转请点击&nbsp;
			</p>
            <a class="login" href="javascript:resetTimer();">返回</a>
		</div>
	</body>
</html>